package org.travel.app.entity;
import lombok.Data;
import org.travel.app.entity.spots.SpotsJourney;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.LocalDate;


/**
 * @author nmm
 * @date 2024-12-2024/12/16
 * @deriction 行程定制表
 */
@Data
public class JourneyCustom {
    /**
     * 旅程id
      */
    private Integer journeyId;

    /**
     * 用户id
     */
    private  Integer userId;

    /**
     * 行程定制标题
     */
    private String journeyTitle;

    /**
     * 出发日期
     */
    private LocalDate departureDate;

    /**
     * 结束日期
     */
    private LocalDate endDate;

    /**
     * 行程总天数
     */
    private Integer totalDay;

    /**
     * 旅程总金额
     */
    private BigDecimal totalBudget;

    /**
     * 备注
     */
    private String remark;

    /**
     * 旅程创建日期
     */
    private Timestamp createDate;

    /**
     * 酒店旅程关联
     */
    private HotelJourney hotelJourney;

    /**
     * 景点旅程关联
     */
    private SpotsJourney spotsJourney;
}